com.supermap.ai
Class AIOnline
- java.lang.Object
-
- com.supermap.ai.AIOnline
-
public class AIOnline extends java.lang.Object
AI video push flow
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static interface
AIOnline.AIOnlineListener
AI network result listener to listen the interactive result between netty and rstp
-
Constructor Summary
Constructors Constructor and Description AIOnline()
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
connectServer(java.lang.String url)
Accesses Netty servicevoid
sendData(java.lang.String object)
Sends datavoid
setAIOnlineListener(AIOnline.AIOnlineListener listener)
Sets Netty-accessing-service result listener
-
-
-
Method Detail
-
setAIOnlineListener
public void setAIOnlineListener(AIOnline.AIOnlineListener listener)
Sets Netty-accessing-service result listener- Parameters:
listener
- Accessing-service result listener
-
connectServer
public void connectServer(java.lang.String url)
Accesses Netty service- Parameters:
url
- Service URI
-
sendData
public void sendData(java.lang.String object)
Sends data- Parameters:
object
- content
-
-